.orders-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    min-height: 600px;
}

.profile-sidebar {
    width: 250px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
    margin-right: 20px;
}

/* 侧边栏样式同个人资料页 */

.orders-content {
    flex: 1;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 30px;
}

.orders-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.order-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.tab-btn:hover {
    color: #ff6700;
}

.tab-btn.active {
    color: #ff6700;
    border-bottom-color: #ff6700;
    font-weight: bold;
}

.orders-list {
    margin-top: 20px;
}

.order-card {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-size: 14px;
    color: #666;
}

.order-date {
    font-size: 14px;
    color: #666;
}

.order-status {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff8e6;
    color: #ff9500;
}

.status-shipped {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-delivered {
    background-color: #e6fffb;
    color: #13c2c2;
}

.status-completed {
    background-color: #f6ffed;
    color: #52c41a;
}

.status-canceled {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.order-body {
    padding: 15px;
}

.order-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-item-img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.order-item-price {
    font-size: 14px;
    color: #ff6700;
    margin-bottom: 5px;
}

.order-item-quantity {
    font-size: 14px;
    color: #666;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #eee;
}

.order-total {
    font-size: 16px;
    color: #333;
}

.order-total span {
    color: #ff6700;
    font-weight: bold;
}

.order-actions button {
    padding: 8px 15px;
    margin-left: 10px;
    border: 1px solid #ddd;
    background: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.order-actions .btn-primary {
    background-color: #ff6700;
    color: white;
    border-color: #ff6700;
}

.order-actions .btn-primary:hover {
    background-color: #e55c00;
}

.empty-orders {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 16px;
}